/*
 * @Description:
 * @Author: zoeblow
 * @Email: wangfuyuan@nnuo.com
 * @Date: 2019-12-16 14:59:46
 * @LastEditors  : zoeblow
 * @LastEditTime : 2019-12-26 19:27:48
 * @FilePath: \monitor\routes\upLog.js
 */
const express = require("express");
const router = express.Router();

router.use((req, res, next) => {
  console.log(`路由执行成功啦~~~`, Date.now());
  next();
});

const UP = require("../controllers/up");
// console.log(UP, "UP");
/**
 * @description: 日志相关处理
 */
router.post("/", UP.upLog);
module.exports = router;
